package one.stand.mapper;

import one.stand.model.CompanyPhotoModel;

import java.util.List;
import java.util.Map;

public interface CompanyPhotoMapper {
    int deleteByPrimaryKey(Integer photoId);

    int delCompanyPhoto(CompanyPhotoModel record);

    int insertSelective(CompanyPhotoModel record);

    CompanyPhotoModel selectByPrimaryKey(Integer photoId);

    int updateByPrimaryKeySelective(CompanyPhotoModel record);

    List<CompanyPhotoModel> select(CompanyPhotoModel record);

    CompanyPhotoModel selectThanSort(CompanyPhotoModel record);

    Integer getMaxSort(CompanyPhotoModel record);

    List<Map<String, Object>> selectTypeNum(Integer companyId);
}